package com.yu.dao;

import com.yu.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author yutao
 * @date 2021/11/28 16:37
 */
@Mapper
public interface OrderDao {
    //1、新建订单
    void createOrder(Order order);

    //修改订单状态
    void updateOrderStatus(@Param("userId") Long userId, @Param("status") Integer status);
}
